package com.b.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {
    @Bean
    public Queue hello(){
        return new Queue("videoId");
    }
    @Bean
    public Queue likeRecordQueue(){
        return new Queue("likeRecord");
    }
    @Bean
    public Queue favoriteVideoQueue(){
        return new Queue("favorite_video");
    }
    @Bean
    public Queue coinQueue(){ return new Queue("coin");}
    @Bean
    public Queue orderQueue(){ return new Queue("order");}
    @Bean
    public Queue stockQueue(){ return new Queue("stock");}

}
